finding the area of a trapezoid